package lzzy.demo.repository;

import lzzy.demo.entity.Comment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommentRepository extends JpaRepository<Comment,Integer> {
    public List<Comment>findAllByAnAndAuthor();
}
